package com.fjwt.gz.service.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fjwt.gz.db.dto.FansUserDTO;
import com.fjwt.gz.db.entity.ActivityAppEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjwt.gz.db.entity.ActivityEntity;
import com.fjwt.gz.db.vo.ActivityVO;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 活动配置应用表 Mapper 接口
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
public interface ActivityAppMapper extends BaseMapper<ActivityAppEntity> {

    public FansUserDTO getFansUerByActivityId(@Param("activityId") Long activityId, @Param("fansId") Long fansId);

    public IPage<ActivityEntity> selectActivityListByAppid(IPage page);

    List<ActivityVO> getActivityAgentNo(@Param("type") Integer type, @Param("activityIds") Collection<Long> activityIds);


    public ActivityEntity getActivityToOutById(@Param("activityId") Long activityId,@Param("entryway")Long entryway,@Param("agentNoDb")String agentNoDb);
}
